<?php
    header('Content-type:text/json');
    require "../connection.php";
    $user_id = $_POST['user_id'];
    $dtl = $_POST['dtl'];
    $phone = $_POST['phone'];
    $sql = "insert into address(addr_dtl,addr_user_id,addr_user_phone) value('$dtl','$user_id','$phone')";
    $res = $conn->doSql($sql);
    echo json_encode($res);
?>
